package personal.lijun.skeleton.springcloud.common.data.security;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.List;

/**
 * @Auther: lijun@sstcsoft.com
 * @Date: 2019-10-15 11:00
 */
@Data
@ToString(includeFieldNames=true)
@NoArgsConstructor
public class User{
    private String password;
    private  String username;
    private List<GrantedAuthority> authorities;
    private  boolean accountNonExpired;
    private  boolean accountNonLocked;
    private  boolean credentialsNonExpired;
    private  boolean enabled;
}